﻿namespace ufida.u9.ait.openapi
{
	using System;
	using System.Collections.Generic;
	using System.Text;
    using ufida.u9.ait.openapi.utils;
    using UFIDA.U9.CBO.Pub.Controller;
    using UFIDA.U9.ISV.PMIssue;
    using UFIDA.U9.ISV.PMIssue.Proxy;
    using UFIDA.U9.PM.PMIssue;
    using UFSoft.UBF.AopFrame;	
	using UFSoft.UBF.Util.Context;

	/// <summary>
	/// PMIssueApproveSV partial 
	/// </summary>	
	public partial class PMIssueApproveSV 
	{	
		internal BaseStrategy Select()
		{
			return new PMIssueApproveSVImpementStrategy();	
		}		
	}
	
	#region  implement strategy	
	/// <summary>
	/// Impement Implement
	/// 
	/// </summary>	
	internal partial class PMIssueApproveSVImpementStrategy : BaseStrategy
	{
		public PMIssueApproveSVImpementStrategy() { }

		public override object Do(object obj)
		{
			PMIssueApproveSV bpObj = (PMIssueApproveSV)obj;

			return CodeUtils.DocUpdateNT<CopyOfApprovePMIssueDoc4ExternalDTOData, PMIssueDoc>(bpObj, bpObj.Data, 
				PMIssueBase.ApproveDoc);
		}
	}

	#endregion
	
	
}